home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
Dev
/
Triton
/
Developer
/
M2Amiga
/
TritonL.def
< prev
Wrap
Text File
|
1995-06-28
|
4KB
|
126 lines
(* REVISION HEADER ×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× *
| $VER: TritonL.def 1.01 (26.09.94) by Stefan Schulz [sts]
| Desc: Interface to Triton.library, Function Part
| Dist: This Module is © Copyright 1994 by Stefan Schulz
| It may be freely Distributed (Freeware)
| Rqrs: triton.library V1.1
| Triton is © Copyright 1993/1994 by Stefan Zeiger
| Lang: M2Amiga
| Trns: M2Amiga Modula 2 Software Development System
| © Copyright by A+L AG, CH-2540 Grenchen
| Hist: Revision 1.01 [sts] \26.09.94\\26.09.94\
| `- Names corrected to M2 Standard
|
| Revision 1.00 [sts] \05.09.94\\06.09.94\
| `- initial revision
* ×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× *)
DEFINITION MODULE TritonL{"triton.library",1};
(* IMPORTS ********************************************************************** *)
IMPORT d : TritonD;
IMPORT ed : ExecD,
id : IntuitionD,
R,
ud : UtilityD;
(* ****************************************************************************** *)
(* ------------------------------------------------------------------------------ *)
(* library name and version *)
(* ------------------------------------------------------------------------------ *)
VAR tritonVersion : INTEGER;
tritonBase : ed.LibraryPtr;
CONST tritonMinVersion= 1;
tritonName = "triton.library";
PROCEDURE AutoRequest
( app{R.A1} : d.AppPtr;
lockproject{R.A0} : d.ProjectPtr;
requestTRWinTags{R.A2} : ud.TagItemPtr) : LONGCARD; CODE -84;
PROCEDURE CloseProject
( project{R.A0} : d.ProjectPtr ); CODE -36;
PROCEDURE CloseWindowSafely
( win{R.A0} : id.WindowPtr ); CODE -126;
PROCEDURE CreateApp
( appTags{R.A1} : ud.TagItemPtr ) : d.AppPtr; CODE -96;
PROCEDURE DeleteApp
( app{R.A1} : d.AppPtr ); CODE -102;
PROCEDURE EasyRequest
( app{R.A1} : d.AppPtr;
bodyfmt{R.A2} : d.StrPtr;
gadfmt{R.A3} : d.StrPtr;
tagList{R.A0} : ud.TagItemPtr ) : LONGCARD; CODE -90;
PROCEDURE FirstOccurance
( ch{R.D0} : CHAR;
str{R.A0} : d.StrPtr ) : LONGINT; CODE -42;
PROCEDURE GetAttribute
( project{R.A0} : d.ProjectPtr;
id{R.D0} : LONGCARD;
attribute{R.D1} : LONGCARD ) : LONGCARD; CODE -66;
PROCEDURE GetErrorString
( num{R.D0} : LONGCARD ) : d.StrPtr; CODE -54;
PROCEDURE GetLastError
( app{R.A1} : d.AppPtr ) : CARDINAL; CODE -132;
PROCEDURE GetMsg
( app{R.A1} : d.AppPtr ) : d.MessagePtr; CODE -108;
PROCEDURE LockProject
( project{R.A0} : d.ProjectPtr ); CODE -72;
PROCEDURE LockScreen
( project{R.A0} : d.ProjectPtr ) : id.ScreenPtr; CODE -138;
PROCEDURE NumOccurances
( ch{R.D0} : CHAR;
str{R.A0} : d.StrPtr ) : LONGINT; CODE -48;
PROCEDURE OpenProject
( app{R.A1} : d.AppPtr;
tagList{R.A0} : ud.TagItemPtr ) : d.ProjectPtr; CODE -30;
PROCEDURE ReplyMsg
( message{R.A1} : d.MessagePtr ); CODE -114;
PROCEDURE SetAttribute
( project{R.A0} : d.ProjectPtr;
id{R.D0} : LONGCARD;
attribute{R.D1} : LONGCARD;
value{R.D2} : LONGCARD ); CODE -60;
PROCEDURE UnlockProject
( project{R.A0} : d.ProjectPtr ); CODE -78;
PROCEDURE UnlockScreen
( screen{R.A0} : id.ScreenPtr ); CODE -144;
PROCEDURE Wait
( app{R.A1} : d.AppPtr;
otherbits{R.D0} : LONGCARD ) : LONGCARD; CODE -120;
END TritonL.def